//jqGrid表格自适应宽高度
window.onresize = function  _doResize() {
 	var ss = pageSize();
 	$("#list2").jqGrid('setGridWidth', ss.WinW-10);
 	$("#list2").jqGrid('setGridHeight', ss.WinH-175);
}
window.onresize = function  _doResize02() { 
 	var ss02 = pageSize();
 	$("#list2").jqGrid('setGridWidth', ss02.WinW-10);
 	$("#list2").jqGrid('setGridHeight', ss02.WinH-175);
}
function pageSize() {
   var winW, winH; 
   if(window.innerHeight) {
	   winW = window.innerWidth; 
	   winH = window.innerHeight; 
    } else if (document.documentElement && document.documentElement.clientHeight) {
	   winW = document.documentElement.clientWidth; 
	   winH = document.documentElement.clientHeight; 
    } else if (document.body) { // other 
	   winW = document.body.clientWidth; 
	   winH = document.body.clientHeight; 
    } 
  return {WinW:winW, WinH:winH}; 
}